package OOP;

public class Car {
    //成员变量
    String name;
    public void run(int you){
        if(you==92){
            System.out.printf("您添加的是%d号油",you);
        }else if(you==95){
            System.out.printf("您添加的是%d号油",you);
        }else {
            System.out.println("无了");
        }
}

    public static void main(String[] args) {
        Car car=new Car();
        car.run(92);


    }

}
